><

Controlling the playback of scenes



If you create two scenes, you can coordinate playback. By default, scenes are set to Autoplay--that is, all scenes play back after the browser finishes loading the page. To play scenes back one by one, instruct the browser to switch to the second scene after the first has completed playing back. Turn off the autoplay option for the second scene and insert a Play Scene action on the Actions Track of the first scene. (If the first scene is a looped animation or palindrome, you may need to insert a Play Scene action followed by a Stop Scene action.)

To have the browser switch to a second scene during playback:

1 Go to Scene 2, and click the Autoplay button () to disable automatic playback.

2 Return to Scene 1, and Ctrl-click (Windows) or Command-click (Mac OS) the Actions Track anywhere before the last keyframe position to insert an action marker (indicated by a question mark icon ().

3 In the Action Inspector, choose Actions > Multimedia > Play Scene and choose the name of the scene from the pop-up menu.

The Play Scene action instructs the browser to switch to the specified scene after finishing playback of the current scene. On the Actions Track, the Play Scene action icon () replaces the marker.

4 If the first scene is a looped animation or a palindrome, Ctrl-click (Windows) or Command-click (Mac OS) the Actions Track at the very last keyframe and insert a Stop Scene action (Actions > Multimedia > Stop Scene). The Stop Scene action icon () appears.

The Stop Scene action stops the playback of a scene, even if it is an endless loop. Be sure to insert this action after the Play Scene action; otherwise, the animation stops before scenes can be switched.

5 Return to the first scene and preview the animation in the browser. The playback should show the switched scenes.

6 Continue to add more scenes and automate playback by repeating steps 1 through 6.

Note: To give viewers more control over your animation, you can also attach the Play Scene action to a rollover button or hyperlink text in Layout view. For instructions on using actions with rollover buttons and text, see Using Adobe GoLive actions.


Floating Boxes > Controlling the playback of scenes